package adfc2;

import adfc2.core.World;

import java.awt.*;

/**
 * Created by IntelliJ IDEA.
 * User: aimozg
 * Date: 29.01.12
 * Time: 11:47
 */
public abstract class Renderer {
    protected final World world;
    protected final Container frame;
    protected final IRendererCallback callback;

    public Renderer(Container container, World world, IRendererCallback callback) {
        this.frame = container;
        this.world = world;
        this.callback = callback;
    }

    public abstract void display();

    public abstract void tick(long dt);

    public abstract void shown();
}
